package com.example.shop.pojo;

import java.sql.Timestamp;

/**
 * 部门类
 * @author Administrator
 *
 */
public class Department {
	/**
	 * 部门id
	 */
	private Long departmentId;
	/**
	 * 部门父级id
	 */	
	private Long departmentFatherId;
	/**
	 * 部门名称
	 */
	private String departmentName;
	/**
	 * 部门职能
	 */
	private String departmentDescription;
	/**
	 *部门状态
	 */
	private String departmentState;
	/**
	 * 创建日期
	 */
	private Timestamp createdDate;
	public Long getDepartmentId() {
		return departmentId;
	}
	public void setDepartmentId(Long departmentId) {
		this.departmentId = departmentId;
	}
	public Long getDepartmentFatherId() {
		return departmentFatherId;
	}
	public void setDepartmentFatherId(Long departmentFatherId) {
		this.departmentFatherId = departmentFatherId;
	}
	public String getDepartmentName() {
		return departmentName;
	}
	public void setDepartmentName(String departmentName) {
		this.departmentName = departmentName;
	}
	public String getDepartmentDescription() {
		return departmentDescription;
	}
	public void setDepartmentDescription(String departmentDescription) {
		this.departmentDescription = departmentDescription;
	}
	public String getDepartmentState() {
		return departmentState;
	}
	public void setDepartmentState(String departmentState) {
		this.departmentState = departmentState;
	}
	public Timestamp getCreatedDate() {
		return createdDate;
	}
	public void setCreatedDate(Timestamp createdDate) {
		this.createdDate = createdDate;
	}
	@Override
	public String toString() {
		return "Department [departmentId=" + departmentId + ", departmentFatherId=" + departmentFatherId
				+ ", departmentName=" + departmentName + ", departmentDescription=" + departmentDescription
				+ ", departmentState=" + departmentState + ", createdDate=" + createdDate + "]";
	}
	public Department() {

	}
	public Department(Long departmentId, Long departmentFatherId, String departmentName, String departmentDescription,
			String departmentState, Timestamp createdDate) {
		super();
		this.departmentId = departmentId;
		this.departmentFatherId = departmentFatherId;
		this.departmentName = departmentName;
		this.departmentDescription = departmentDescription;
		this.departmentState = departmentState;
		this.createdDate = createdDate;
	}
	
	
}
